home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / tib / inputs / stdd.ttx < prev    next >
Text File  |  1989-03-28  |  11KB  |  141 lines

  1. %standard reference formatting macros
  2. %no citation flag, author, date in brackets [], title, etc.,
  3. %                                          volume, pages, gov't no., other
  4.  
  5. \def\journalarticleformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  6.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  7.                 \par\vfil\penalty-200\vfilneg%\filbreak
  8.                 \hangindent3pc\hangafter1%
  9.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  10.        \if\Dtest\present\unskip\hskip.16667em[\bgroup\Dstr\ifcat\Ftrail a\Ftrail\fi\egroup]\def\Comma{, }\fi%
  11.         \if\Ttest\present\Comma\bgroup``\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  12.          \if\etest\present\if\Ttest\present{"}\fi\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  13.           \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
  14.            \if\Vtest\present\if\Jtest\present\hskip.16667em\else\Comma\fi\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
  15.             \if\Ptest\present\bgroup, \Pstr\egroup\def\Comma{, }\fi%
  16.              \if\ttest\present\Comma\bgroup``\Titlefont\tstr\egroup\def\Comma{," }\fi%
  17.               \if\jtest\present\Comma\bgroup\Tomefont\jstr\/\egroup\def\Comma{, }\fi%
  18.                \if\vtest\present\if\jtest\present\hskip.16667em\else\Comma\fi\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
  19.                 \if\dtest\present\hskip.16667em(\bgroup\dstr\egroup)\def\Comma{, }\fi%
  20.                  \if\ptest\present\bgroup, \pstr\egroup\def\Comma{, }\fi%
  21.                   \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  22.                    \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  23.                     \vskip3ptplus1ptminus1pt}%\smallskip
  24.  
  25. \def\conferencereportformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  26.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  27.                 \par\vfil\penalty-200\vfilneg%\filbreak
  28.                 \hangindent3pc\hangafter1%
  29.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  30.        \if\Dtest\present\unskip\hskip.16667em[\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup]\def\Comma{, }\fi%
  31.         \if\Ttest\present\Comma\bgroup``\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  32.          \if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
  33.           \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  34.            \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  35.             \vskip3ptplus1ptminus1pt}%\smallskip
  36.  
  37. \def\bookarticleformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  38.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  39.                 \par\vfil\penalty-200\vfilneg%\filbreak
  40.                 \hangindent3pc\hangafter1%
  41.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }\fi%
  42.        \if\Dtest\present\unskip\hskip.16667em[\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup]\def\Comma{, }\fi%
  43.         \if\Ttest\present\Comma\bgroup``\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  44.          \if\etest\present\if\Ttest\present"\fi\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  45.           \if\Btest\present\Comma in \bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip, }\fi%
  46.            \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
  47.             \if\Etest\present\Comma\bgroup\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }\fi%
  48.              \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
  49.               \if\Vtest\present\bgroup\hskip.16667em\#\Volfont\Vstr\egroup\def\Comma{, }\fi%
  50.                \if\Ntest\present\bgroup\hskip.16667em\#\Volfont\Nstr\egroup\def\Comma{, }\fi%
  51.                 \if\Itest\present\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  52.                  \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  53.                   \if\Ptest\present\Comma\Pstr\def\Comma{, }\fi%
  54.                    \if\ttest\present\Comma\bgroup``\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  55.                     \if\btest\present\Comma in \bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi%
  56.                      \if\atest\present\Comma\bgroup\astr\egroup\unskip, \if\acnt\present eds.\else ed.\fi\def\Comma{, }\fi%
  57.                       \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
  58.                        \if\vtest\present\bgroup\hskip.16667em\#\Volfont\vstr\egroup\def\Comma{, }\fi%
  59.                         \if\ntest\present\bgroup\hskip.16667em\#\Volfont\nstr\egroup\def\Comma{, }\fi%
  60.                          \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  61.                           \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  62.                            \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  63.                             \if\ptest\present\Comma\pstr\def\Comma{, }\fi%
  64.                              \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  65.                               \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  66.                                \vskip3ptplus1ptminus1pt}%\smallskip
  67.  
  68. \def\bookformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  69.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  70.                 \par\vfil\penalty-200\vfilneg%\filbreak
  71.                 \hangindent3pc\hangafter1%
  72.        \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  73.            \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  74.                  \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  75.          \if\Dtest\present\unskip\hskip.16667em[\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup]\def\Comma{, }\fi%
  76.           \if\Ttest\present\Comma\bgroup\Tomefont\Tstr\egroup\def\Comma{, }%
  77.                 \else\if\Btest\present\Comma\bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip, }\fi\fi%
  78.             \if\otest\present\ \bgroup\ostr\egroup\def\Comma{, }\fi%
  79.              \if\etest\present\hskip.16667em(\bgroup\estr\egroup)\def\Comma{\unskip, }\fi%
  80.               \if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
  81.                \if\Vtest\present\bgroup\hskip.16667em\#\Volfont\Vstr\egroup\def\Comma{, }\fi%
  82.                 \if\Ntest\present\bgroup\hskip.16667em\#\Volfont\Nstr\egroup\def\Comma{, }\fi%
  83.                  \if\Atest\present\if\Itest\present
  84.                          \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi%
  85.                       \else\if\Etest\present\if\Itest\present
  86.                               \Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi\fi\fi%
  87.                      \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  88.                       \if\ttest\present\Comma\bgroup\Tomefont\tstr\egroup\def\Comma{, }%
  89.                             \else\if\btest\present\Comma\bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi\fi%
  90.                          \if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
  91.                           \if\vtest\present\bgroup\hskip.16667em\#\Volfont\vstr\egroup\def\Comma{, }\fi%
  92.                            \if\ntest\present\bgroup\hskip.16667em\#\Volfont\nstr\egroup\def\Comma{, }\fi%
  93.                             \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  94.                              \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  95.                               \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  96.                                \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  97.                                 \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  98.                                  \vskip3ptplus1ptminus1pt}%\smallskip
  99.  
  100. \def\technicalreportformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  101.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  102.                 \par\vfil\penalty-200\vfilneg%\filbreak
  103.                 \hangindent3pc\hangafter1%
  104.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  105.            \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  106.                  \else\if\Itest\present\bgroup\Authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  107.          \if\Dtest\present\unskip\hskip.16667em[\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup]\def\Comma{, }\fi%
  108.           \if\Ttest\present\Comma\bgroup``\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  109.            \if\Atest\present\if\Itest\present
  110.                    \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  111.                 \else\if\Etest\present\if\Itest\present
  112.                         \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  113.             \if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
  114.              \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  115.               \if\ttest\present\Comma\bgroup``\Titlefont\tstr\egroup\def\Comma{," }\fi%
  116.                \if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
  117.                 \if\rtest\present\Comma\bgroup\rstr\egroup\def\Comma{, }\fi%
  118.                  \if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
  119.                   \if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
  120.                    \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  121.                     \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  122.                      \vskip3ptplus1ptminus1pt}%\smallskip
  123.  
  124. \def\otherformat{\Reffont\let\uchyph=1\parindent=0pt\def\Comma{}%
  125.                 \sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
  126.                 \par\vfil\penalty-200\vfilneg%\filbreak
  127.                 \hangindent3pc\hangafter1%
  128.       \if\Atest\present\bgroup\Authfont\Astr\egroup\def\Comma{\unskip, }%
  129.             \else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1eds.\else ed.\fi\def\Comma{, }%
  130.                  \else\if\Itest\present\bgroup\authfont\Istr\egroup\def\Comma{, }\fi\fi\fi%
  131.          \if\Dtest\present\unskip\hskip.16667em[\bgroup\Dstr\ifcat a\Ftrail\Ftrail\fi\egroup]\def\Comma{, }\fi%
  132.           \if\Ttest\present\Comma\bgroup``\Titlefont\Tstr\egroup\def\Comma{," }\fi%
  133.            \if\Atest\present\if\Itest\present
  134.                    \Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
  135.                 \else\if\Etest\present\if\Itest\present
  136.                         \Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
  137.                 \if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
  138.                  \if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
  139.                   \if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
  140.                    \vskip3ptplus1ptminus1pt}%\smallskip
  141.